function help(hfile, varargin)
% BVQXfile::help  - overloaded method
%
% Usage is either for methods
%
% help(BVQXfile)        - get full list of methods for all objects
% help(object)          - get list of methods of specific object
% help(object, method)  - get details on method

% Version:  v0.7g
% Build:    9100821
% Date:     Oct-08 2009, 9:31 PM CEST
% Author:   Jochen Weber, SCAN Unit, Columbia University, NYC, NY, USA
% URL/Info: http://wiki.brainvoyager.com/BVQXtools

% argument check
if nargin < 1 || ...
    numel(hfile) ~= 1 || ...
   ~isBVQXfile(hfile)
    error( ...
        'BVQXfile:BadArgument', ...
        'Invalid call to BVQXfile.help.' ...
    );
end

% different route for ROOT object
sfile = struct(hfile);
if sfile.L == 1
    disp(root_Help(hfile));
    
% for normal objects
else

    % object help
    disp(aft_Help(hfile, varargin{:}));
end
